﻿//javaScript
function login(form){

 var uname=document.getElementById("uname1").value;
 var pwd=document.getElementById("pw1").value;
 if(uname=="" || pwd==""){
   alert('用户名或者密码不能为空');
   return false;
 }
 return true; 


}